/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ytmc.mainWindow;

import javax.swing.JPanel;

/**
 *
 * @author Kicok
 */
public class Tab
{
    private String title;
    private JPanel content;

    public Tab( String title, JPanel content )
    {
        this.title = title;
        this.content = content;
    }


    /**
     * @return the title
     */
    public String getTitle()
    {
        return title;
    }

    /**
     * @param title the title to set
     */
    public void setTitle( String title )
    {
        this.title = title;
    }

    /**
     * @return the content
     */
    public JPanel getContent()
    {
        return content;
    }

    /**
     * @param content the content to set
     */
    public void setContent( JPanel content )
    {
        this.content = content;
    }
}
